* {
    margin: 0;
    padding: 0;
}

html,
body,
#tv_chart_container {
    width: 100%;
    background: #152335;
    height: 70vh;
}

#tv_chart_container>iframe {
    width: 100%;
    // height: 300px;
    height: 100%;
    margin-top: 20px;

}

#contract {
    width: 100%;
    height: 300px;
    background: #152335;
}

.header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: #131F30;
    height: 60px;

    .header-one {
        display: flex;
        align-items: center;
        padding: 0 20px;

        div:nth-child(1) img {
            height: 15px;
            width: 15px;
        }

        div:nth-child(2) {
            font-size: 18px;
            font-family: PingFang SC;
            font-weight: bold;
            color: rgba(255, 255, 255, 1);
            margin-left: 10px;
        }
    }
}

/* 币种 */

.header-two {
    display: flex;
    align-items: center;
    padding: 0 20px;

    div:nth-child(2) img {
        width: 15px;
        height: 15px;
        margin-left: 30px;
    }
}

/* 涨跌幅 */
.gains {
    width: 100%;
    background: #152335;
    display: flex;
    justify-content: space-between;
    /* 左边 */

    .gains-left {
        padding: 0 20px;
        width: 55%;
        padding-top: 25px;
        padding-bottom: 15px;

        p:nth-child(1) {
            font-size: 21px;
            font-family: PingFang SC;
            font-weight: bold;
            color: rgba(195, 47, 82, 1);

        }

        p:nth-child(2) {
            font-size: 12px;
            font-family: PingFang SC;
            font-weight: 500;
            color: rgba(159, 165, 200, 1);
            padding-top: 25px;

            span {
                font-size: 14px;
                font-family: PingFang SC;
                font-weight: bold;
                color: rgba(195, 47, 82, 1);
            }
        }

    }

    /* 右边 */
    .gains-right {
        width: 45%;
        padding: 0 20px;
        padding-bottom: 15px;
        padding-top: 15px;

        .gains-one {
            display: flex;
            justify-content: space-between;
            line-height: 30px;

            p:nth-child(1) {
                font-size: 12px;
                font-family: PingFang SC;
                font-weight: 500;
                color: rgba(159, 165, 200, 1);

            }

            p:nth-child(2) {
                font-size: 13px;
                font-family: PingFang SC;
                font-weight: 500;
                color: rgba(213, 217, 239, 1);
            }
        }
    }
}


#currency {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    padding-top: 30px;
    align-items: center;
}

.currency-left {
    width: 40%;
    height: 40px;
    background: rgba(22, 37, 75, 1);
    border-radius: 5px;
    line-height: 40px;
}

.currency-right {
    width: 40%;
    height: 40px;
    background: rgba(22, 37, 75, 1);
    border-radius: 5px;
    line-height: 40px;
}

.time-picker {
    width: 100%;
    overflow: hidden;
    position: absolute;
    border-top: 1px solid #eee;
    left: 0;
    bottom: 0;
    z-index: 2;
    background-color: #ffffff;
}

.Country-one {
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: 500;
    color: rgba(204, 204, 204, 1);
    text-align: center;
}

.ondimg {
    width: 10px;
    height: 15px;
}

.timeaxis {
    background: rgba(244, 246, 251, 1);
    height: 40px;
    padding: 10px 20px;
    box-sizing: border-box;
    color: #154ab0;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.week {
    display: flex;
    font-size: 14px;
    color: #FFFFEF;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 30px;
}

li {
    list-style: none;
}

.red {
    display: flex;
    font-size: 14px;
    color: #6881FF;
    border-bottom: 1px solid #6881FF;
    padding-bottom: 10px;
}

.paysell {
    width: 100%;
    position: fixed;
    bottom: 20px;
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    height: 50px;

    div:nth-child(1) {
        width: 44%;
        height: 40px;
        background: linear-gradient(90deg, rgba(50, 140, 124, 1), rgba(53, 184, 167, 1));
        border-radius: 5px;
        margin-left: 15px;
        font-size: 14px;
        font-family: PingFang SC;
        font-weight: 500;
        color: rgba(255, 255, 255, 1);
        display: flex;
        align-items: center;
        justify-content: center;

    }

    div:nth-child(2) {
        width: 44%;
        height: 40px;
        background: linear-gradient(90deg, rgba(165, 54, 80, 1), rgba(190, 70, 98, 1));
        border-radius: 5px;
        font-size: 14px;
        font-family: PingFang SC;
        font-weight: 500;
        color: rgba(255, 255, 255, 1);
        margin-right: 15px;
        display: flex;
        align-items: center;
        justify-content: center;

    }
}

.mint-popup-bottom {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50% !important;
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
    width: 100%;
    // height: 400px;
    background: #131F30;
}

// 买卖弹出层
.nav {
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    margin-top: 12px;

    div:nth-child(1) img {
        width: 20px;
        height: 20px;
    }

    div:nth-child(2) img {
        width: 20px;
        height: 20px;
    }
}

// 限价市价
.tabs-img {
    padding: 0 13px;
    display: flex;
    justify-content: space-between;
    margin-top: 14px;

    >div {
        width: 45%;
        height: 32px;
        background: rgba(19, 31, 48, 1);
        border: 1px solid rgba(32, 51, 120, 1);
        border-radius: 2px;
        font-size: 14px;
        font-family: PingFang SC;
        font-weight: 500;
        color: rgba(159, 165, 200, 1);
        display: flex;
        align-items: center;
        justify-content: center;

    }

    .actived {
        height: 32px;
        background: rgba(58, 88, 203, 1);
        border-radius: 2px;
        font-size: 14px;
        font-family: PingFang SC;
        font-weight: 500;
        color: rgba(255, 255, 255, 1);
        border: 1px solid rgba(58, 88, 203, 1);
    }


}

// 杠杠倍数
.leverage {
    padding: 0 13px;
    display: flex;

    div:nth-child(1) {
        font-size: 13px;
        font-family: PingFang SC;
        font-weight: 500;
        font-family: PingFang SC;
        font-weight: 500;
        color: rgba(139, 145, 177, 1);
        margin-top: 15px;
    }

    div:nth-child(2) {
        width: 50px;
        height: 27px;
        background: rgba(21, 35, 53, 1);
        border: 1px solid rgba(32, 51, 120, 1);
        border-radius: 2px;
        margin-left: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-family: PingFang SC;
        font-weight: 500;
        color: rgba(58, 88, 203, 1);
        margin-top: 10px;
    }
}

// 笔数
.nav-one {
    display: flex;
    justify-content: space-between;
    padding: 0 13px;
    margin-top: 21px;

    >div {
        font-size: 13px;
        font-family: PingFang SC;
        font-weight: 500;
        color: rgba(139, 145, 177, 1);
    }
}

// 加减
.nav-two {
    display: flex;
    justify-content: space-between;
    width: 95%;
    margin: 13px auto;

    div:nth-child(1) {
        width: 40px;
        height: 32px;
        background: rgba(31, 45, 99, 1);
        border-radius: 2px;
        border: 1px solid rgba(31, 45, 99, 1);
        font-size: 18px;
        font-family: PingFang SC;
        font-weight: 500;
        color: rgba(255, 255, 255, 1);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    div:nth-child(2) input {
        height: 32px;
        background: rgba(17, 29, 47, 1);
        border: 2px solid rgba(38, 48, 72, 1);
        border-radius: 2px;
        width: 250px;
        color: #ffffff;
        text-align: center;
    }

    div:nth-child(3) {
        width: 40px;
        height: 32px;
        background: rgba(31, 45, 99, 1);
        border-radius: 2px;
        border: 1px solid rgba(31, 45, 99, 1);
        font-size: 18px;
        font-family: PingFang SC;
        font-weight: 500;
        color: rgba(255, 255, 255, 1);
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

// 进度条
.prgoress {
    display: flex;
    padding: 0 13px;

}

// 可用
.nav-free {
    display: flex;
    justify-content: space-between;
    padding: 0 13px;
    margin: 13px auto;

    div:nth-child(1) {
        color: #CCD0E6;
        font-size: 13px;
        font-family: PingFang SC;
        font-weight: 500;
    }

    div:nth-child(2) {
        color: #CCD0E6;
        font-size: 13px;
        font-family: PingFang SC;
        font-weight: 500;
    }
}

// 止盈
.surplus {
    display: flex;
    justify-content: space-between;
    padding: 0 13px;
    padding-bottom: 22px;
    div:nth-child(1) {
        font-size: 13px;
        font-family: PingFang SC;
        font-weight: 500;
        color: rgba(139, 145, 177, 1);
        margin-top: 22px;
    }
}
// 计算
.algor{
    width:95%;
    margin: 0 auto;
    padding-bottom: 60px;
    display: flex;
    justify-content: space-between;
    .algor-left{
        width: 45%;
        border-radius:2px;
       
        div:nth-child(1){
            font-size:13px;
            font-family:PingFang SC;
            font-weight:500;
            color:rgba(213,217,239,1);
        }
        .check{
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            line-height: 32px;
            margin-top: 10px;
            div:nth-child(1){
                width:37px;
                height:32px;
                background:rgba(17,29,47,1);
                border:1px solid rgba(38,48,72,1);
               
            }
            div:nth-child(2) input{
                width: 80px;
                height: 32px;
                background:rgba(17,29,47,1);
                border:1px solid rgba(38,48,72,1);
                color: #ffffff;
                text-align: center;

            }
            div:nth-child(3){
                width:37px;
                height:32px;
                background:rgba(17,29,47,1);
                border:1px solid rgba(38,48,72,1);
                color: #ffffff;
               
            }
        }
    }
    .algor-right{
        width: 45%;
        
        border-radius:2px;
        div:nth-child(1){
            font-size:13px;
            font-family:PingFang SC;
            font-weight:500;
            color:rgba(213,217,239,1);
        }
        .check{
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            line-height: 32px;
            margin-top: 10px;
            div:nth-child(1){
                width:37px;
                height:32px;
                background:rgba(17,29,47,1);
                border:1px solid rgba(38,48,72,1);
               
               
            }
            div:nth-child(2) input{
                width: 80px;
                height: 32px;
                background:rgba(17,29,47,1);
                border:1px solid rgba(38,48,72,1);
                color: #ffffff;
                text-align: center;

            }
            div:nth-child(3){
                width:37px;
                height:32px;
                background:rgba(17,29,47,1);
                border:1px solid rgba(38,48,72,1);
                color: #ffffff;
               
            }
        }
    }
}
// 看涨看跌 
.bullish button {
    width: 95%;
    position: relative;
    bottom: 17px;
    height: 40px;
    background: #339A8A;
    border-radius: 2px;
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    border: 1px solid #339A8A;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    left: 0;
    right: 0;

}

.bullishone button {
    width: 95%;
    position: relative;
    bottom: 17px;
    height: 40px;
    background: #BD4561;
    border-radius: 2px;
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    border: 1px solid #BD4561;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    left: 0;
    right: 0;
}